package cate.game.role.pay.trademall.monthcard.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTradeMall;
import cate.game.role.pay.trademall.monthcard.MonthCardPO;
import cate.game.role.pay.trademall.monthcard.MonthCardStatusPO;
import easy.java.dev.note.NoteField;

import java.util.Map;

@ClientMsg(title = "交易坊-月卡 信息")
public class MonthCardInfoResp implements MsgOutput {
    @NoteField(value = "所有月卡档位数据")
    public Map<Integer, MonthCardStatusPO> monthCardMap;

    @Override
    public MsgConfig conf() {
        return MsgIdBTradeMall.TRADE_MALL_MONTH_CARD_INFO_RESP;
    }

    public MonthCardInfoResp() {}

    public MonthCardInfoResp(MonthCardPO po) {
        monthCardMap = po.monthCardMap;
    }
}
